package com.xinruke.hostels.central.manage.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author GuoZheng
 * @ClassName OrganizationDetailQueryResultDTO
 * @date：2019/6/24
 * @version: V1.0.0
 * @description：
 */
@ApiModel("组织详情返回DTO")
@Data
public class OrganizationDetailQueryResultDTO {

    @ApiModelProperty("id")
    private Integer id;

    /**
     * 名称
     */
    @ApiModelProperty("名称")
    private String mingcheng;

    /**
     * 描述
     */
    @ApiModelProperty("描述")
    private String miaoshu;

    /**
     * 排列顺序
     */
    @ApiModelProperty("排列顺序")
    private Integer pailieshunxu;


    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;

    /**
     * 父机构id
     */
    @ApiModelProperty("父机构id")
    private Integer fujigouId;
    /**
     * 父机构id
     */
    @ApiModelProperty("父机构名称")
    private String fujigouMingcheng;

    @ApiModelProperty("创建人id")
    private Integer chuangjianrenId;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gengxinshijian;

    @ApiModelProperty("更新人ID")
    private Integer gengxinrenId;




}
